package com.api.shopapi.service;

import com.api.shopapi.entity.ElderlyClockin;
import com.api.shopapi.entity.dto.ElderlyClockinDTO;
import com.github.pagehelper.PageInfo;
import org.springframework.stereotype.Service;

import java.util.Date;
import java.util.List;

@Service
public interface ElderlyClockinService {

    int insert(ElderlyClockin elderlyClockin);

    //老人打卡记录列表
    PageInfo<ElderlyClockinDTO> getPageList(int pageIndex, int pageSize, String governmentCode, String zoneCode,
                                            Date startTime, Date endTime, String idCard, String name);



    List<ElderlyClockinDTO> getList(String governmentCode, String zoneCode, Date startTime, Date endTime,
                                    String idCard, String name);

    PageInfo<ElderlyClockinDTO> getForPageForServe(int pageIndex, int pageSize, String serveCode);
}
